package com.cn.jinl.api;

import com.cn.jinl.domain.ProcureStorage;
import com.cn.jinl.domain.ProcureStorageHis;
import com.cn.jinl.domain.ProcureVo;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

public interface IProcureStorageService {

    List<ProcureStorage> getProcureStorageList(QueryForm queryForm)throws Exception;
    List<ProcureStorage> getProcureStorageDetailList(QueryForm queryForm)throws Exception;

    List<ProcureStorageHis> getProcureStorageHistoryList(String id)throws Exception;
    List<ProcureStorageHis> getProcureStorageHistoryListByPid(String id)throws Exception;

    String batchAddProcureStorages(List<ProcureStorage> procureStorages)throws Exception;

    String batchInsertProcureStorageHis(List<ProcureStorageHis> procureStorageHis)throws Exception;

    int getProcureStorageWaitingCount()throws Exception;

    String updateProcureStorageStatusByProcId(String procureId,String status);

    List<ProcureStorage>getAPIProcureStorageListById(String id)throws Exception;

    List<ProcureVo>getProcureStorageListByMaterialCode(QueryForm queryForm)throws Exception;

}
